<template>
	<view class="new1">
		<view class="scanCodeBgimg">
			<image src="/static/image/doctor/examinel1.png" mode="scaleToFill" style="width: 570rpx; height: 360rpx;"></image>
		</view>
		<text>您还未属于任何组织，快去加入您的组织吧</text>
		<view class="scanCodeJoin" @click="scanCodes">
			<text>扫码加入</text>
			<text class="iconfont icon-saoyisao saosuotxt"></text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		methods: {
			async scanCodes() {
				uni.scanCode({
					success: res => {
						this.$store.commit("storeService_id", res.result);
						if (res.result) {
							uni.redirectTo({
								url: "../clinicDetails3/clinicDetails3"
							})
						}
					}
				});
			},

		}
	}
</script>

<style lang="scss">
	page {
		width: 100%;
		height: 100%;
	}

	.new1 {
		width: 100%;
		height: 100%;

		>text {
			display: inline-block;
			width: 100%;
			text-align: center;
			color: #CCCCCC;
			font-size: 24rpx;
		}
	}

	.scanCodeJoin {
		width: 340rpx;
		height: 98rpx;
		background: linear-gradient(90deg, rgba(96, 232, 205, 1), rgba(45, 209, 188, 1));
		box-shadow: 3rpx 4rpx 20rpx 4rpx rgba(15, 170, 150, 0.1);
		border-radius: 49rpx;
		@include shuipingchuijuzhong;
		color: rgba(255, 255, 255, 1);
		font-size: 32rpx;
		margin-top: 227rpx;
		@include shuiping;
	}

	.scanCodeBgimg {
		image {
			width: 570rpx;
			height: 360rpx;
			margin-top: 320rpx;
			margin-left: 50%;
			transform: translateX(-50%);
		}
	}

	.saosuotxt {
		font-size: 35rpx;
		margin-left: 10rpx;
	}
</style>
